﻿#ifndef ADDINVENTORYDIALOG_H
#define ADDINVENTORYDIALOG_H

#include <QDialog>
#include <QVBoxLayout>
#include <QComboBox>
#include <QLineEdit>
#include <QPushButton>
#include <QLabel>
#include <QDateEdit>

class AddInventoryDialog : public QDialog {
    Q_OBJECT

public:
    explicit AddInventoryDialog(QWidget *parent = nullptr);
    ~AddInventoryDialog();

    QComboBox* getKindComboBox() const { return kindComboBox; }
    QLineEdit* getQuantityInput() const { return quantityInput; }
    QLineEdit* getPriceInput() const { return priceInput; }
    QDateEdit* getDateEdit() const { return dateEdit; }

private:
    QVBoxLayout *mainLayout;
    QComboBox *kindComboBox;
    QLineEdit *quantityInput;
    QLineEdit *priceInput; // Added price input
    QDateEdit *dateEdit;   // Added date edit
    QPushButton *okButton;
    QPushButton *cancelButton;
};

#endif // ADDINVENTORYDIALOG_H
